Article written by Paul Kenneth Egell-Johnsen. You can visit me at my Homepage, and you'll some times find me on IRC as SpdyViking.

C++ and CGI programming - introduction.

Background

Two and a half year ago when I started studying computer software engineering there wasn't much talk about the Web. Of course I knew about the Internet and e-mail, irc, ftp, etc., therefore I used them.

I had heard about the Web, seen some pictures in Byte and I knew the concept of hypertext from AmigaGuide on the Amiga, which I used very often.

In our second year we put up or own Web server, and made Web pages. I waited for half a year before publishing my 20 or so pages, which I did in this style which I was very pleased with. (And still is, as a matter of fact.

It wasn't long before I found the need for more 'functionality', I wanted a 'Guestbook'. Therefore I learned CGI (C++ I already knew from our classes) and made it myself. Why bother to reinvent the wheel (in the Guestbook case), well no-one had made something as good or userfriendly as my Guestbook of course.

The Project Idea

Then during the spring of 1996 an idea formed in my head, why not make a Web administration tool? Of course this has been done before, but not on the Amiga or the HP-UX, and what I knew (and know) of other tools, they lack the most important part of computing, automatation and simplification.

The project I will undertake is two part:

The problem from your standpoint is that I don't know how to program the Amiga GUI properly (I have to use...MUI Builder), therefore I'll concentrate on a text version of the administartion tools.

Another problem is that some of my ideas are pretty darn hot, so I don't want to spill my beans, therefore what you get from this series of articles are some tools which aren't yet on the Amiga, but which are found on other platforms. (One reason I am writing this article series is that I'm a member of an organization which needsthis software.)

The Project Requirements

What we want for this system is the following:

Probably I will add some requirements with time. The first and third items on the list is some time into the future, ADF hasn't decided which company to use with the digital money transferring yet.

Known Problems

The CGI package from NCSA is in C, and it's fairly cryptic code as well, so the first thing I have to do is make my own C++ library which does the same. But, there might be some (I've tried quite a few, and hasn't been satisfied with any) library already out which can help us, so if you know any good, give me a hint, and I will also look around for myself.

Time is a problem, I really should be concentrating on some projects which we have been assigned (and some chosen) at school, but I have promised John to help out, and this is a good way to structure my own thoughts and programming.

Specifications

I'll just as well start with some specifications.

Shopping-cart

Administration

Next Article

In the next article I will go through the basics of CGI programming and Forms, then I will start programming the CGI/HTML class.

At the moment I haven't done much more than a sparse outline of the project, I'll refine it over time, and I'll also concider wishes and ideas for the project.


Table Of Contents